package com.itheima;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

@SpringBootApplication
@ServletComponentScan //扫描servlet组件的注解,否则不识别过滤器的@WebServlet("/*")注解
//不指定包结构，默认扫引导类所在包及其子包
public class App {
    public static void main(String[] args) {
        SpringApplication.run(App.class,args);
    }
}
